package tt.dz.appserver.aop.rpc;

import javax.annotation.Resource;

import org.apache.avro.ipc.NettyServer;
import org.apache.log4j.Logger;
import org.aspectj.lang.JoinPoint;





/**
 * 无用
 * @author Administrator
 *
 */
public class RpcCheckOut {

	@Resource(name="avroNettyServer")
	private NettyServer nettyServer;
	
	/**日志*/
	private static final Logger LOG = Logger.getLogger("[RpcCheckOut AOP]:");
	
	public void checkIp(JoinPoint joinPoint,String ip) throws Throwable {
		LOG.info("RPC 实时链接数量："+nettyServer.getNumActiveConnections());
	}
}
